Added counter variables for each lifecycle callback method in ActivityTwo

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