loiter vs while away time

loiter

noun
  • A standing or strolling about without any aim or purpose. 

verb
  • To remain at a certain place instead of moving on. 

  • To stand about without any aim or purpose; to stand about idly. 

  • For an aircraft to remain in the air near a target. 

while away time

How often have the words loiter and while away time occurred in a corpus of books? (source: Google Ngram Viewer )