public int getOccupantsCount() {
        return occupants.size();
    }
Returns the number of occupants in the chatroom at the moment.

@return int the number of occupants in the chatroom at the moment.
xmppserver/src/main/java/org/jivesoftware/openfire/muc/MUCRoom.java