beginning and end vs lock, stock, and barrel

beginning and end

lock, stock, and barrel

How often have the words beginning and end and lock, stock, and barrel occurred in a corpus of books? (source: Google Ngram Viewer )