from beginning to end vs in the middle

from beginning to end

in the middle

How often have the words from beginning to end and in the middle occurred in a corpus of books? (source: Google Ngram Viewer )