print count for class o and 1 code example Example: count values in list usiing counter from collections import Counter