public int getCount(RequestOrResponseType type) {
    int count = 0;
    for (MockServer mockServer : mockServers.values()) {
      count += mockServer.getCount(type);
    }
    return count;
  }
Get the count of requests of the given type received within the servers in this layout.
@param type the type of request
@return the count of requests this server layout has received of the given type.
ambry-router/src/test/java/com/github/ambry/router/MockServerLayout.java