nhops_get_count
rinfo->num_nhops = nhops_get_count(rh);
uint32_t nhops_get_count(struct rib_head *rh);