I don't know enough about the API call to describe how to know, or change, if you are counting repeat instances. But in Ad Hoc you can access it from the bottom of the screen (Count Repeat Instance: Yes/No) or from the global settings (Tools > Settings). The first option is a checkbox to count repea...