The formula favorable over possible cases requires equally likely outcomes. Here “one head” groups two of the four equally likely sequences: \(\frac24=\frac12\).
The classical probability \(P(A)\) of an event \(A\), when the sample space \(\Omega\) is finite with equally likely outcomes, is the ratio of favorable to possible outcomes.