I run the following Filter process in a forEach loop. I want to tell what is the node count before I continue to the end of the loop. for example
$node1->pipe( new Filter( array (
array("teacher_id", "=", $teacher['id']),
"or",
array("teacher_id","findInSet",$teacher['id']),
)))
if ($node1->count()....)