command line program for counting work done