Get frame number
Provides the current frame number as its output.