  Inspired by a result by Sz\H{o}ke, we give potential-theoretic
characterizations of the dimension of the Bergman space of holomorphic sections
of a restriction of a holomorphic line bundle of $\mathbb{P}^1$ to some open
set $D\subset\mathbb{P}^1$.
