I am trying to pull data from an upload CSV file and get the number occurence values of a field

What is the problem? Please be detailed.
I am working with ona and I have already loaded data as baseline to my server. I would like to pull data from that file and from the result I would like to get the numbers of occurences of a certain value. Based on this; I want to use it in a loop to repeat it by this time for example, if I got (Houshold 002 (3 times) in my baseline file CSV), I want to edit all the information of these three houshold in a loop. Is there a way to do that ?
What ODK tool and version are you using? And on what device and operating system version?

What steps can we take to reproduce the problem?

What you have you tried to fix the problem?

Anything else we should know or have? If you have a test form or screenshots or logs, attach here.

Your best bet for questions about Ona is to contact their team at https://ona.io/contact.html.