Count States
Jump to navigation
Jump to search
count_states is an API-only function which returns the number of states in the selection.
PYMOL API
cmd.count_states(string selection="(all)")