count

abstract fun count(label: String = definedExternally)(source)

The console.count() static method logs the number of times that this particular call to count() has been called.

MDN Reference