On the extremal values of ratios of number of paths