Made 'frame_count' a private data type