The correct answer is option A, that is, the number of yellow leaves.
An independent variable refers to the variable, which is monitored or modified in a scientific experiment to examine the influences on the dependent variable. A dependent variable refers to the variable being measured and examined in a scientific test. Hence, in the given case, the number of leaves getting yellow is a dependent variable.
Both the dependent and the independent variables may be observed in terms of the cause and effect.