Edit: I'm not able to come up with a suitable approach. I'm a beginner in probability theory. I tried to apply Bernoulli trials for this but it's not apt, I guess.
It is apt.
You seek the expected count until the first success for independent Bernoulli trials with identical success rate, $1/2$. This count, oh, let us call it $X$, is a random variable with a geometric distribution, over a support of $\{1,2,3,\ldots\}$.
$$X\sim\mathcal{Geo}_1(1/2)$$
What does this mean? Why now, the expectation for a geometric random variable is well known, so once you've identified the distribution you could know its two. Else, you can do it from first principles:
Well the probability that the first success is encountered on trial #$x$ (for any $x\in\Bbb N^+$) is the probability for $x-1$ consecutive fails and then a success. $$\begin{align}\mathsf P(X{=}x) ~&= {(1-1/2)}^{x-1}(1/2)\mathbf 1_{x\in\Bbb N^+}\\ &= {1/2}^x~\mathbf 1_{x\in\Bbb N^+}\end{align}$$
Likewise, the probability that the first success in encountered after trial #$x$, (for any $x\in \Bbb N$) is the probability for obtaining $x$ consecutive fails: $$\mathsf P(X>x)={(1-1/2)}^{x}\mathbf 1_{x\in\Bbb N}$$
Why is this useful? It is because when we apply the definition of expectation this happens:
$$\begin{align}\mathsf E(X) &= \sum_{x=1}^\infty x\mathsf P(X=x) &=& \tfrac 1{2}+\tfrac 2{2^2}+\tfrac 3{2^3}+\cdots+\tfrac x{2^x}+\cdots \\ &= \sum_{x=1}^\infty\sum_{y=0}^{x-1} \mathsf P(X=x)\\ & = \sum_{y=0}^\infty
\sum_{x=y+1}^\infty \mathsf P(X=x) \\ & = \sum_{y=0}^\infty \mathsf P(X>y)\\ &=\sum_{y=0}^\infty \frac 1{2^y} &=& 1+\tfrac 12+\tfrac 1{2^2}+\tfrac 1{2^3}+\cdots+\tfrac 1{2^y}+\cdots \end{align}$$
Thus the expectation for a geometric random variable equals some kind of series. You should readily be able to recognise it and find that the closed form is two.
Ps: You should also notice that $\mathsf E(X)=1+\tfrac 12\mathsf E(X)$, and @user gives an nice intuitive explanation for why this is so.