Measurement of the medium energy NuMI flux using the low-v and high-v methods at MINERvA