I have an input schema which contains the records. I want to get the count of records in output schema. Currently I have used division functoid with same input from one of the element of record. Finally I am using the cumulative sum to get the record count. Please suggest me the best alternative. Regards,