Sure, in your service :)
if (request.Count = default(int) throw new ArgumentNullException("Count");
You can also specify this validation rule in a custom validator:
Although this will throw for 0.
Note: In your Request DTO you could've also specified `int? Count` which if it doesn't exist will be null so doesn't clash with a valid '0' value.
You can check to see if the param was present in any of the HTTP request with:
if (base.RequestContext.Get<IHttpRequest>().GetParam("Count") == null) throw new ...
If you want to be more specific, you can verify for existence in IHttpRequest.QueryString and IHttpRequest.FormData
There's also a Custom Request Binder option, to take over full control over the serialization yourself:
Cheers,