Queries the sequence number of a calendar component object.
Return value for the sequence number. This should be freed using free_sequence.