Change counter value in navigation

Is there a way to change the counters in the navigation of react admin template? The navigation is created from _nav.js where it is stored as array of objects.