category vs subfamily

category

noun
  • A group, often named or numbered, to which items are assigned based on similarity or defined criteria. 

  • A collection of objects, together with a transitively closed collection of composable arrows between them, such that every object has an identity arrow, and such that arrow composition is associative. 

subfamily

noun
  • A taxonomic category ranking between a family and a genus; formerly called a tribe 

  • A secondary or subordinate grouping. 

How often have the words category and subfamily occurred in a corpus of books? (source: Google Ngram Viewer )