Merge in pull request #13 with new function to find total hits