I just want to get numbers of times to be used for each Activity. So the very straightforward method I thought is increasing the count for an Activity when it was started. B
You have the activity life cycle methods to know when they are created and when they are resumed, etc. Not sure if you mean when it is created (onCreate) or when it is resumed or comes back into focus (onResume).
Personally, I'd sub-class Activity and Application. To sub-class application, you have to remember to declare the class name of the Application in your manifest. The application can have a HashMap keyed by Activity names with an int value of the number of times each activity is resumed or created (or whatever you want).
All your activities currently derive from the Activity class. So, you could create your own ActivityBase that extends Activity and adds overriden methods for onCreate and onResume. These overridden methods would call a method on the Application class to tell it to increment their count. Then, all your activities would extend ActivityBase instead of Activity.