Simple control flow for counting callbacks