add counter to badge