The cci_set_size function gets the number of elements for the set fetched by CCI_A_TYPE_SET with cci_get_data().
intcci_set_size(T_CCI_SET set)