A 5.2 L closed container contains some water and N$_2$(g) at 29 $^\circ$C. The total pressure of the system and water tension are 1 atm and 0.04 atm, respectively. Upon electrolysing the liquid water inside completely, the final pressure of system was at 2 atm. What is number of moles of water that was present inside the container?