As I know it,
A Random Variable is a variable which represents the outcome of a random experiment.
Is this correct?
.
According to the above definition, the following is not a Random Variable as, in this case, the count is deterministic.
We flip a coin thrice and a random variable $X$ represents the count of the flip. I.e. $X = 1, 2, 3$.
.
The following is a Random Variable as the total count of Heads in tosses is indeterministic.
We flip a coin thrice and a random variable $X$ represents the total count of Heads in THREE flips. I.e. $X = 0, 1, 2, 3$.
.
But, what about the following? Is the following an example of a random variable?
We flip a coin thrice and a random variable $X$ represents the probability of occurring Heads in each flip.
Not. A probability is a specific number ($\left(\frac12\right)^3$ in the case of a fair coin).