I hope my question isn't too vague:
Let $M$ be a real-analytic compact manifold (say surface for simplicity). How big is $\Omega^k(M)$ (space of global real-analytic $k$-forms)?
Let me explain better by comparing with the complex case. If $X$ is a compact Riemann surface of genus $g$ then the $\mathbb C$-vector space of global holomorphic $1$-forms is $g$-dimensional.
This does not work for real-analytic manifolds, however there is still the rigidity given by real-analytic continuation, which reduces the number of possibilities. This gives a related question:
When does a real-analytic form $\omega$ defined on a region $U\subset M$ extend to the whole $M$?
Are there some tools to deal with such kind of problems? Any reference would be appreciated. Thank you.