You can put this solution on YOUR website! you mean
In this problem, it is very important to use the constant called Avogadro's number which is equal to particles per mole. For any kind of substance, whatever it is, this is the number of particles that constitute mole.
This means that grains is equivalent to mole of grain.
then
moles of rice grains