don't count fields in enums
count fields in static inner classes separately
count methods in static inner classes separately