I am just posting the solution here in case I forget or anyone else finds this topic:
import omni.timeline
# get a reference to the timeline
timeline = omni.timeline.get_timeline_interface()
# get the current time
time = timeline.get_current_time()
# get the frames per second
fps = timeline.get_time_codes_per_seconds()
# set the current frame
frame = time * fps
# display results
label.text = "6 keys were wet at frame " + str(frame)