“count_frames” returns the number of frames defined for the PyMOL movie.
count_frames
frame | count_states | cmd.count_frames | commands