Given is a partition $\lambda$, and the $\lambda$ also denote it's Young Diagram, and $\lambda'$ is the conjugate/transpose. Then the hook-length of $\lambda$ at $x = (i,j)$ is defined to be $$h(x) = h(i,j) = \lambda_i + \lambda'_j - i - j + 1$$We also have $$n(\lambda)=\sum_{i\geq 1} (i-1)\lambda_i=\sum_{i\geq 1}\binom{\lambda'_i}{2},\ \text{and}$$ $$|\lambda|=\sum_{i\geq 1}\lambda_i$$
I have to show that the sum of the hook-lengths of $\lambda$ is $$\sum_{x \in \lambda}h(x)=n(\lambda) + n(\lambda')+|\lambda|$$
My attempt: $$\sum_{x \in \lambda}h(x)=\sum_{i \geq 1}\sum_{j = 1}^{\lambda_i}h(i,j)=\sum_{i \geq 1}\sum_{j = 1}^{\lambda_i}(\lambda_i + \lambda'_j - i - j + 1)\\=\Big(\sum_{i \geq 1}\sum_{j = 1}^{\lambda_i}\lambda_j'\Big)+\sum_{i \geq 1}\Big(\lambda_i^{2}-i\lambda_i-\frac{\lambda_i(\lambda_i + 1)}{2}+\lambda_i\Big) \\ =\Big(\sum_{i \geq 1}\sum_{j = 1}^{\lambda_i}\lambda_j'\Big)+\sum_{i \geq 1}\bigg(\frac{\lambda_i(\lambda_i - 1)}{2}-(i-1)\lambda_i\bigg)\\=\Big(\sum_{i \geq 1}\sum_{j = 1}^{\lambda_i}\lambda_j'\Big)+n(\lambda') - n(\lambda)$$
I'm not really sure how to evaluate the first term of the final expression, and I'm getting a minus instead of a plus in the latter 2 terms; and hence I'm stuck. Can I get some kind of assistance?