Ability to specify the schema when counting results