after i am doing a file read snap and map the documents via mapper snap is there a way to get the total number of documents on the next snap? I basically need to perform a router and need the path/output of all the documents to go 1 way if there are < 500,000 rows/documents. otherwise go down another path/output >=500,000. how can i achieve this?
Matt, the snap.inputViews function may help with this.