Calculate succesful/failed requests