Bug in do_query_count in url mode was fixed

In do_query_count method in url mode there was broken link. There is no '&' symbol between ticket and apptoken parameters. Ticket is incorrect all the time