How many total moles of gas are there in the reactants and how many total moles of gas are there in the products?

CO(g) + 3H2(g) ⇌ CH4(g) + H2O(g)