Fix to use version of GetNumMeshItems() that works with mesh params.