public int getNumRoutes() {
        return routes.size();
    }
Returns the number of routes that are contained in this.

@return The number of routes.
messagebus/src/main/java/com/yahoo/messagebus/routing/RoutingTable.java