Use n_variables() from DofMap