Added counter variables for each lifecycle callback method

These variables are used to track the number of times each of the
Activity lifecycle callback methods are invoked.