Bonjour, is there a function to return the number of MySQL queries within a script?

Cheers