Actually 1025 looks like several orders of magnitude too much. With molar mass of barium hydroxide close to two hundred, given mass of substance must be in the 10-2 moles range (if not less), that means 1021 molecules, not 1025. And you don't need a calculator to see that.