Adding click_count functionaliy