how to count click events javascript

JavaScript
off("click"
    
Source

Also in JavaScript: