Answer
Please see the work below.
Work Step by Step
The time period of a pendulum is given as $T=2\pi \sqrt{\frac{l}{g}}$. This equation shows that the time period does not depend on the mass, hence the loss of sand has no effect on the time period of the pendulum.