[XS] Change in pysim[master]: saip: calculate the number of records for LF and CY