Add a new function - SourceCounter