Add the below functions

- Start/Stop frame counter.
- Reset frame counter.