fix tag and count in template if user not login.