Say I have a vector $\mathbf{\theta} = (1,2,3)'$. I'm looking for a way to write the number of components/coordinates in the vector. Something like $\dim(\mathbf{\theta}) = 3$. However, as I understand it, 'dim' is usually used to denote the dimensionality of the vector space of which $\mathbf{\theta}$ is an element, so 'dim' seems clumsy.
Is there an established convention for this? For context, $\mathbf{\theta}$ is a parameter vector for a model.
There is no standard notation for this.
I think $\dim \theta$ should be clear enough from the context, should you really need a notation.