Change old property `frames` to the new `numFrames`

I finally found where this property was being used! No wonder it was
public.