[DOCS] fixed count and validate query docs, they now require a top-level query object, same as other apis

Relates to #4074
Closes #5111