public static int filterNodesCountOnly(
      final AbstractZyGraph<?, ?> graph, final Criterion filterBy) {
    return internalFilterNodes(graph, filterBy, null);
  }
Count the nodes of an {@code AbstractZyGraph} matching a specified filter criterion.

@param graph the graph containing the nodes to be filtered
@param filterBy the criterion to filter by
@return the number of nodes matching the criterion
java/ui/src/main/java/com/google/security/zynamics/bindiff/graph/filter/GraphNodeFilter.java