@staticmethod
def _fix_statistics_keys(statistics):
    """
        Helper function to clean up the response from the statistics endpoint by removing
        misspelled statistics keys.

        :param statistics: Dictionary containing statistics, modified by reference
        :return:
        """
    if 'numberOf' in statistics:
        number_of = statistics['numberOf']
        if 'unsendtNotifications' in number_of:
            number_of['unsentNotifications'] = number_of['unsendtNotifications'
                ]
            del number_of['unsendtNotifications']
