Your error message tells you. You can perform 18,000 "questions" an hour. You've reached the limit, therefore the limit is the number done.
More generically you can use the SHOW STATUS command:
SHOW SESSION STATUS LIKE 'Questions'
This, according to the documentation, shows...
The number of statements executed by the server. As of MySQL 5.1.31,
this includes only statements sent to the server by clients and no
longer includes statements executed within stored programs, unlike the
Queries variable.