public async Task <IActionResult> CountItems([FromQuery] FactoryParameters parameters)
 {
     return(Ok(await _service.CountItems(parameters)));
 }