Use annotations to count nested loops in ASoundEngine.