Outputs the current frame number.