Now we simply need to call the method to increase the function when appropriate. Let's go to the Searcher class of the package co.starcarr.rssreader.search and add the call just after we send the processed article:
...
val article = Article(feed.name, title, summary)
channel.send(article)
// Increment the singleton with the counter
ResultsCounter.increment()
...