Adding a export counter method which allows you to specify the type of counters you would like to export