updated File Class Count Method