[graphql] Use sessions with session ids to get the session count
@@ -120,6 +120,7 @@ public int getSessionCount() {
.map(NodeStatus::getSlots)
.flatMap(Collection::stream)
.filter(slot -> slot.getSession()!=null)
+ .filter(slot -> !slot.getSession().getId().equals(RESERVED))
.mapToInt(slot -> 1)
.sum();
}
