Counting the number of interval matches in asynchronous code
Here is an example article with code snippets: