add click count and pull to refresh