Let vector r = xi + yj + zk and r = |vector r|

Verify that ∇ • vector r = 3.

Must I take the partial derivative with respect to x, y, and z individually?

If so, then ∇• vector r = 1 + 1 + 1 = 3.

I do not understand why r = |vector r| is given in this problem.