Gets the number of pending requests for the given domain
int getPendingRequestCount(String domain) { return _pendingRequests[domain]?.length ?? 0; }