Add check for parameter count
fix typos
fix param count for unique and exists
add test
Merge pull request #3793 from anlutro-pull-requests/feature/validation-required-params

Add check for parameter count