Renamed countPairs file to reflect new function name.