Get current frame of objects scene?
There is no current frame property for objects, there's only a frame_current for every Scene. What "current frame" means to an object is not defined.

What you might want to do is to get the current frame of the active scene, there's only a single active scene per Blender window and it's what the user sees (are you using a frame change handler that changes Text.body based on frame_current?)