Finds the number of words in a string
This is a javascript library to perform binary search on a sorted array.