added utils to get the number of ae and recalls