Added getFrameCount method to FrameDiff.