get method
Gets a counter specified by its name. It counter does not exist or its type doesn't match the specified type it creates a new one.
name
a counter name to retrieve.type
a counter type. Return an existing or newly created counter of the specified type.