Counts abg.m instead of fig files so that dia models are also included.