The two hydrogen gas molecules split and the two oxygen gas molecules split and made two water molecules by having two hydrogen gas molecules and one oxygen gas molecule join twice...
Therefore, there would be 3 or 6
if i am not mistaken
hope it helps