Let's denote $N_k(n)$ as the number of partitions $n$ into at most $k$ parts. Prove that the total number of parts in the all partitions of $n$ is equal to: $$\sum_{a=1}^n \sum_{b=1}^{\lfloor n/a \rfloor} \sum_{k=0}^{n-ab} N_a(k)N_{b-1}(n-ab-k)$$
Sincerely speaking, that task appears difficult for me. What I was able to notice is a fact that expression $$ \sum_{k=0}^{n-ab} N_a(k)N_{b-1}(n-ab-k)$$ can be some kind of the convolution $ \sum_{k=0}^{m} N_a(k)N_{b-1}(m-k)$. But I am not sure, because of the lower indices $a$ and $b-1$.
Could you give any hints how to start with this task?
Let $f(a,b)=\sum_{k=0}^{n-ab}N_a(k)N_{b-1}(n-ab-k)$.
In other words, there are $f(a,b)$ partitions of $n$ in which the dot at the bottom of column $b$ is in row $a$. Taking conjugates, we see that there are $f(a,b)$ partitions $\lambda\vdash\lambda_1,\dots,\lambda_r$ of $n$ such that $\lambda_b=a$: $f(a,b)$ counts the $b$-th parts that are of size $a$. And $\sum_{a=1}^n\sum_{b=1}^{\lfloor n/a\rfloor}f(a,b)$ just sums $f(a,b)$ over all ordered pairs $\langle a,b\rangle$ of positive integers such that $ab\le n$, i.e., over all ordered pairs $\langle a,b\rangle$ such that a partition of $n$ can have a $b$-th part of size $a$, so it counts the parts of all partitions of $n$.
(I could have avoided taking conjugates by reversing the rôles of $a$ and $b$, but this was the way I actually saw it.)