As far as I understood, the concept of parameters as arrays is, that the models can be evaluated with several parameter sets. So parameters can be scalar, lists or numpy arrays. The dimension of the parameter is stored in "param_dim". I have made a short check and np.size() should be save, it gives the appropriate value for scalars as well as lists and arrays.