[guided]The intersection form in degree two is the real symmetric bilinear map
\begin{align*}
Q_X:H^2(X;\mathbb R)\times H^2(X;\mathbb R)&\to\mathbb R, &
Q_X(\alpha,\beta)&=\langle \alpha\smile\beta,[X]\rangle,
\end{align*}
where $[X]\in H_4(X;\mathbb R)$ is the fundamental class determined by the complex orientation. The number $b_2^+(X)$ is, by definition, the largest possible dimension of a real subspace on which this form is positive definite.
Let $\omega$ be the Kähler form of the Kähler metric on $X$, and define its cohomology class by
\begin{align*}
\kappa:=[\omega]\in H^2(X;\mathbb R)\cap H^{1,1}(X).
\end{align*}
Because $\omega$ is positive and $X$ is connected and compact, $\kappa$ gives one distinguished real $(1,1)$ direction. More precisely, the Hodge-Riemann bilinear relations imply
\begin{align*}
Q_X(\kappa,\kappa)>0.
\end{align*}
In particular $\kappa\ne 0$, so $\mathbb R\kappa$ is a one-dimensional positive subspace.
Next define the primitive real $(1,1)$ subspace by
\begin{align*}
P_{\mathbb R}^{1,1}:=\{\alpha\in H^2(X;\mathbb R)\cap H^{1,1}(X):Q_X(\alpha,\kappa)=0\}.
\end{align*}
This is exactly the $Q_X$-orthogonal complement of the Kähler line inside the real $(1,1)$ part. Since $Q_X(\kappa,\kappa)>0$, every element $\alpha\in H^2(X;\mathbb R)\cap H^{1,1}(X)$ has a unique decomposition into its component along $\kappa$ and its primitive component:
\begin{align*}
\alpha=\frac{Q_X(\alpha,\kappa)}{Q_X(\kappa,\kappa)}\kappa+\left(\alpha-\frac{Q_X(\alpha,\kappa)}{Q_X(\kappa,\kappa)}\kappa\right).
\end{align*}
The second term lies in $P_{\mathbb R}^{1,1}$ because its pairing with $\kappa$ is
\begin{align*}
Q_X\left(\alpha-\frac{Q_X(\alpha,\kappa)}{Q_X(\kappa,\kappa)}\kappa,\kappa\right)=Q_X(\alpha,\kappa)-\frac{Q_X(\alpha,\kappa)}{Q_X(\kappa,\kappa)}Q_X(\kappa,\kappa)=0.
\end{align*}
Thus
\begin{align*}
H^2(X;\mathbb R)\cap H^{1,1}(X)=\mathbb R\kappa\oplus P_{\mathbb R}^{1,1}.
\end{align*}
Now define the real subspace coming from the conjugate Hodge types $(2,0)$ and $(0,2)$:
\begin{align*}
V_{\mathbb R}:=H^2(X;\mathbb R)\cap\left(H^{2,0}(X)\oplus H^{0,2}(X)\right).
\end{align*}
Complex conjugation carries $H^{2,0}(X)$ anti-linearly onto $H^{0,2}(X)$ by [Hodge Symmetry for Compact Kähler Manifolds][citetheorem:8081]. Therefore the real subspace fixed by conjugation inside $H^{2,0}(X)\oplus H^{0,2}(X)$ has real dimension twice the complex dimension of $H^{2,0}(X)$:
\begin{align*}
\dim_{\mathbb R}V_{\mathbb R}=2h^{2,0}(X).
\end{align*}
Combining this with the real form of the Hodge decomposition gives
\begin{align*}
H^2(X;\mathbb R)=\mathbb R\kappa\oplus P_{\mathbb R}^{1,1}\oplus V_{\mathbb R}.
\end{align*}
It remains to determine the sign of $Q_X$ on these three pieces. The surface case of [Hodge-Riemann Bilinear Relations on Primitive Cohomology][citetheorem:8068], with the complex orientation used to define $[X]$, says that $Q_X$ is positive definite on the Kähler line $\mathbb R\kappa$, positive definite on the real subspace $V_{\mathbb R}$ coming from $H^{2,0}(X)\oplus H^{0,2}(X)$, and negative definite on the primitive real $(1,1)$ part $P_{\mathbb R}^{1,1}$. Hence the positive directions are precisely the directions in
\begin{align*}
\mathbb R\kappa\oplus V_{\mathbb R}.
\end{align*}
No vector in $P_{\mathbb R}^{1,1}$ can be added to a positive-definite subspace as an additional positive direction, because $Q_X$ is negative definite there. Therefore a maximal positive-definite subspace has dimension
\begin{align*}
\dim_{\mathbb R}(\mathbb R\kappa\oplus V_{\mathbb R})=1+2h^{2,0}(X).
\end{align*}
This proves
\begin{align*}
b_2^+(X)=1+2h^{2,0}(X).
\end{align*}[/guided]