Since $M$ accepts by empty stack, an accepting computation must have the same number of pushes and pops.
Every transition reads exactly one input symbol.
Also, every transition is either one push or one pop.
So the total number of input symbols read is $\text{pushes}+\text{pops}=2\cdot\text{pushes}$, which is even.
Therefore, every accepted string has even length.
Answer : A