First, mass the contaminated sand and put a certain mass/volume of water onto it. Sand will be precipitated and BaCl2 and NaCl will be dissolved. Thus, you can separate sand using filter paper and eventually you will have a solution containing BaCl2 and NaCl. After that you have many ways to estimate how many grams of BaCl2 and NaCl mixture.(for instance you can dry the mixture out and mass it,note it somewhere) Then, again dissolve this mixture in a certain mass of water and add a certain mass/mole of Na2SO4.After the reaction you showed in your post, BaSO4 will precipitate. Filter it and mass it. Depending upon stoichiometry rules, you can easily estimate how many moles of BaCl2 is formed because you know the number of moles of BaSO4. Now you know the mass of BaCl2 and therefore subtracting it from the mass of the mixture of BaCl2+NaCl at the beginning, you can easily estimate the mass of NaCl.