Added 'Count' function to PairIndicesModule.
Added 'Count'.