BS-6654 - change getNumberOfSAProcessInstanceWithoutSubProcess request to optimize count time