Function isDmMemberCountCondition