Counting contacts between particles of different types

Submitted by rafaxy on

Hi,

I can already count total number of contacts as richti83 suggested here: /forums/particle-contacts-using-contactatom

I'm interested in counting collisions only between atoms of different types (types 1 and 2). Is it possible?