Count pairs with product ( x / current . data ) in the range first to last and add it to the ' count ' of triplets
count += countPairs ( first , last , x // current . data ) NEW_LINE current = current . next NEW_LINE