This is an example of the N-Gram script our company uses for determining keyword performance.
This code was created by Daniel Gilbert, the CEO at Brainlabs. You can read more of his article at https://searchengineland.com/brainlabs-script-find-best-worst-search-queries-using-n-grams-228379