gender identity vs sexual orientation

gender identity

noun
  • A person's internal sense of self as belonging to a particular gender or genders, or to no gender. 

sexual orientation

noun
  • One's tendencies of sexual attraction, considered as a whole. 

How often have the words gender identity and sexual orientation occurred in a corpus of books? (source: Google Ngram Viewer )