start() function to start the counter, stop() function to stop the counter and reset() function to reset the counter.