12 AM vs twelve o’clock

12 AM

twelve o’clock

How often have the words 12 AM and twelve o’clock occurred in a corpus of books? (source: Google Ngram Viewer )