pub fn frame_count() -> u32