Here's an equation from a text book for computing a unit vector: $$\hat v = \frac{\overline v}{ \sqrt{ \sum ^n _{i=1} (\overline v_i)^2 } }$$
Now I may be wrong here, but using $n$ doesn't really cut it here for me. $n$ can't be any old amount, it has to be the number of dimensions in $ \overline v$, right? So is there a symbol for the number of dimensions in a vector?