- added AIS_ReadLog_Count() before create list of logs; - added for loop instead while; - at the end of the table, the total number of logs is read again;