get ahold of oneself vs keep one's head

get ahold of oneself

verb
  • To calm down; to stop behaving in an erratic way. 

keep one's head

verb
  • To remain calm, reasonable, level-headed, especially in a situation likely to cause distress. 

How often have the words get ahold of oneself and keep one's head occurred in a corpus of books? (source: Google Ngram Viewer )