For a fixed CFG and a fixed string $w$, every parse tree corresponds to exactly one leftmost derivation and exactly one rightmost derivation.
Similarly, each LMD or RMD corresponds to one parse tree.
Therefore, the number of parse trees, leftmost derivations, and rightmost derivations is always the same.
Answer : B