enumerator
/ɪˈnuːməˌreɪtər/
noun
- A person who counts or lists things, especially someone who conducts a census or survey by collecting data from households.
- As a census enumerator, she visited over 200 homes in one week.
- The enumerator knocked on every door in the neighborhood to record the number of residents.
- The government hired additional enumerators to ensure an accurate population count.
- In computing, a person or thing that assigns numbers to items in a set, or a function that iterates through a collection.
- The programmer wrote an enumerator to loop through all the files in the folder.
- The software uses an enumerator to assign unique IDs to each record.
- In Python, the built-in enumerator function adds a counter to an iterable.