New extension for counting clicks