search: validate count value
Created by: rvantonder
Validate that that count:X
is a number, for X
. We don't do this in the query code, and I presume we take the default value of 30 when it's garbage. This fix is only for and/or queries because I need this validation for a search. It'd be an annoying/fragmented fix in the current query code.