Comment

If you look at SHOW GLOBAL STATUS, you will see Com_prepare and some related variables. This is the number of times a statement is prepared, for example. Check the documentation -- there are a few similar variables. I think one of them is probably what you are looking for.