count number of rows
how to count the number of rows in a loop satisfying a specific condition
like there are 5 rows of kunnr = '10001'
I dnt want to increment counter because Im doing an inner loop for that condition
In a sense I want to compare the numbe rof records in the inner loop and outer loop where kunnr = '10001'