public int count() {
    return findAll().size();
  }
Return a list of matching nodes ordered as in pre-order traversal of the plan tree.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/planner/PlanNodeSearcher.java