You can do directly `var numberOfRequests = requests.length' because at the end it's gonna be more than one in all cases (so you could remove https://github.com/mozilla-b2g/gaia/pull/10536/files#L0R413)