Yup.  You could use .size() of it instead of *6/4 thing then as well if you wanted I think in the glDrawElements?