able to count the total number of ais msgs for each ship