#1 avoid counting attribute pairs with 2 equal attributes