I really wanted to not implement that method at all as I don't really see a need for the `f` function here, but decided to make it consistent. I'll refactor it to `private[this] def getCounter[T](name: String, target: ConcurrentHashMap[String, T], f: => T): T`.