Definition (expected number of visits during an excursion)
Consider a Markov chain $\ouline{X} = (X_n)_{n\geq 0}$ on $I$ with transition matrix $P$, and let $k\in I$ be a state.
Define $\nu_k(i)$ to be the expected number of visits to $i$ during an excursion from $k$, i.e. $$ \begin{align*} \nu_k(i) = \expect\Big(\sum_{t=0}^{T_k-1} \mathbb{1}(X_t = i) \,\Big|\, X_0 = k\Big). \end{align*} $$ where $T_k = \inf\sb{n\geq 1}{X_n=k}$ is the first return time of $k$.