add counter source file