from the beginning vs in a different way

from the beginning

in a different way

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