method Console.countprivateConsole.count(label?: string): voidDeprecatedMaintains an internal counter for a given label, incrementing it each time the method is called ExamplesExample 1 console.count('myCounter'); console.count('myCounter'); // Will show: myCounter: 2 Parametersoptionallabel: stringThe label to count. Defaults to 'default' Return Typevoid