INVEST: Flow-based Traffic Volume Estimation in Data-plane Programmable Networks