NetLogo 7.0.0-beta2:

matrix:dimensions

matrix:dimensions matrix

Reports a 2-element list ([num-rows,num-cols]), containing the number of rows and number of columns in the given matrix

Take me to the full Matrix Extension Dictionary