[step:Count one fiber by strict rises at descents]Fix a linear extension $\pi=(q_1,\dots,q_n)\in \mathcal{L}(P)$.
Define its descent set with respect to $\lambda$ by $\operatorname{Des}(\pi)=\{i\in\{1,\dots,n-1\}:\lambda(q_i)>\lambda(q_{i+1})\}$, and set $d(\pi):=|\operatorname{Des}(\pi)|$.
A map $f\in\mathcal{O}_m(P,\pi)$ is equivalent to a sequence $1\le a_1\le a_2\le \cdots \le a_n\le m$ with $a_i<a_{i+1}\quad\text{for every }i\in\operatorname{Des}(\pi)$, by setting $a_i=f(q_i)$. The weak inequalities come from the fact that $\pi$ is the order determined by increasing $f$-values. At a descent $i$, equality would force the tie-breaker to place $q_{i+1}$ before $q_i$, because $\lambda(q_{i+1})<\lambda(q_i)$; hence strict inequality is necessary. Conversely, these inequalities ensure that the tie-broken order associated to $f(q_i)=a_i$ is exactly $\pi$.
Define $D_i:=|\{j\in\operatorname{Des}(\pi):j<i\}|$ for $1\le i\le n$, and define $c_i:=a_i-D_i$. If $i\in\operatorname{Des}(\pi)$, then $a_{i+1}\ge a_i+1$ and $D_{i+1}=D_i+1$, so $c_{i+1}\ge c_i$. If $i\notin\operatorname{Des}(\pi)$, then $a_{i+1}\ge a_i$ and $D_{i+1}=D_i$, so again $c_{i+1}\ge c_i$. Also $1\le c_1$ and $c_n\le M$, where $M:=m-d(\pi)$. Thus the map $(a_1,\dots,a_n)\mapsto(c_1,\dots,c_n)$ sends the required sequences bijectively to weakly increasing sequences
\begin{align*}
1\le c_1\le c_2\le \cdots \le c_n\le M.
\end{align*}
The inverse map is $a_i=c_i+D_i$, and it restores a strict rise exactly at each descent because $D_{i+1}=D_i+1$ precisely when $i\in\operatorname{Des}(\pi)$.
If $M<1$, then there are no such sequences, and the binomial coefficient $\binom{M+n-1}{n}$ is $0$ because its upper entry is less than $n$. If $M\ge 1$, the standard stars-and-bars count for weakly increasing sequences of length $n$ with values in $\{1,\dots,M\}$ gives $\binom{M+n-1}{n}=\binom{m+n-1-d(\pi)}{n}$. Therefore $|\mathcal{O}_m(P,\pi)|=\binom{m+n-1-d(\pi)}{n}$.[/step]