if (optListLimit)
  req->setCount(optListLimit);

if that doesn't work there is also setPageSize