The polyatomic nitrate ion (NO3−) is present in both the products and the reactants of the chemical equation shown below.

Ba(NO3)2 + 2LiOH → Ba(OH)2 + 2LiNO3

How many nitrate ions are in the products and the reactants of the chemical equation?