Count Pairs of Points With Distance k