3.16 count-pairs