Check the number of supplied parameters against what the statement expects

I thought about this earlier and was again reminded by the recent report in #177.  Any thoughts?