This is the same as len(self.alarms) so either call that directly from the test or call it here.