Count Pairs With Given Difference