by one's lonesome vs in company

by one's lonesome

in company

How often have the words by one's lonesome and in company occurred in a corpus of books? (source: Google Ngram Viewer )