Added counter.c and linecounter.c