[hotfix] Update ClickEventCount to use modern API