count() accepts fully-qualified type names
by_type() accepts fully-qualified type names