public int getIncomingServerSessionsCount(boolean onlyLocal) {
        int total = localSessionManager.getIncomingServerSessions().size();
        if (!onlyLocal) {
            // TODO Implement this when needed
        }
        return total;
    }
Returns number of sessions coming from remote servers. <i>Current implementation is only counting
sessions connected to this JVM and not adding up sessions connected to other cluster nodes.</i>

@param onlyLocal true if only sessions connected to this JVM will be considered. Otherwise count cluster wise.
@return number of sessions coming from remote servers.
xmppserver/src/main/java/org/jivesoftware/openfire/SessionManager.java