private static int getMessageCountExcludeSelf ( Messenger < String > messenger , String id ) { Set < String > messageSet = newHashSet ( messenger . receiveMessages ( ) ) ; messageSet . remove ( id ) ; return messageSet . size ( ) ; }
count the messages from relations so need to filter its own msg