Find the number of couples with the same difference