12 a.m. vs 12 o'clock

12 a.m.

12 o'clock

How often have the words 12 a.m. and 12 o'clock occurred in a corpus of books? (source: Google Ngram Viewer )