Track the number of times subs are called