call iric_geo_riversurvey_read_count_f(rid, count, ier)
ier = iRIC_Geo_RiverSurvey_Read_Count(rid, &count);
This function does not exists for Python.