Use profiling to extract counts
Apply the Hot Path Browser (HPB) tool (Ball, Larus and Rosay)
- Instruments programs to record and display Ball/Larus path profiles
- A Ball/Larus path profile counts how many times each acyclic intraprocedural path executes