Quick estimation of gas pipeline inventory