1) Net ionic equation
Here you do not have a net ionic equation.
The net ionic equation is the ionic equation removing the spectator ions.
Spectator ions are those that are the same (do not change its oxidation number) in both side of the equation.
In this reaction all the ionic compounds keep the same oxdidation number, then you should remove all the species from the ionic equation which will let you with nothing.
This is the ionic equation:
2Na(1+) + SO4(2-) + Ba(2+) + 2NO3(1-) --->2 Na (1+) + 2NO3(1-) + Ba(2+) + SO4(2-)
As you see all the ions, Na(1+), SO4(2-) , Ba(2+) and NO3(1-) are the same in both sides, which will let you with none in the net ionic equation.
2) Number of moles of sulphate in the sample.
All the precipitate is Barium Sulfate, Ba(SO4), because it is the insoluble product. NaNO3 is very soluble.
The the mass 8.642g is all Ba(SO4).
To convert grams to # of moles, you use the molar mass (MM) and this relation:
# moles = grams / MM
The molar mass of Ba SO4 is: 137.3 g/mol+ 32 g/mol + 4*16 g/mol = 233.3 g/mol
# moles = 8.642 g / 233.3 g/mol = 0.037 mol
Which is the number of moles in the product.
By the stoichiometry, the number of moles of the sample is the same of the product.