Evaluate the expression for the complex number $z = 3 + 4i$. Calculate the magnitude of $z$, which is defined as:
$$|z| = ext{sqrt}(a^2 + b^2)$$
where $z = a + bi$ and $a$ is the real part, and $b$ is the imaginary part of the complex number.