Let $R$ be a ring and $k$ be a field such that $k\hookrightarrow R$. Thus, given two $R$-modules $M$ and $N$, we can regard $\operatorname{Hom}(M,N)=\operatorname{Hom}_R(M,N)$ as a vector space over $k$. The following facts are given:
If $E$ and $E'$ are two simple $R$-modules, we know that the dimension of $\operatorname{Hom}(E,E')$ is at most $1$.
Both $M$ and $N$ have finite length, i.e. they have a finite sequence $0=M_0\subsetneq M_1\subsetneq\dots\subsetneq M_n=M$ such that $M_i/M_{i-1}$ is simple, and similarly for $N$.
Now, I should prove by induction over the length of $M$ that the dimension of $\operatorname{Hom}(M,E'')$ is finite for every simple $R$-module $E''$. The case length $=1$ is obvious, but how to do the induction step?
Ultimately, I want to prove that the dimension of $\operatorname{Hom}(M,N)$ is finite, but I think that I will be able to do it myself if I understood the $\operatorname{Hom}(M,E'')$-case.
Thank you!