Counting subclasses too