count() accepts type objects.