Check whether the user input enough query strings