Alright, thanks!

Another thing, how can I make a script that will keep getting a request of how many queries have been done by the server? This is for me to update the progress bar to be shown to the user.