def METHOD_NAME(sample_template):
    # Creating multiple templates with normal and team keys but only 1 template
    # with a test key to test that the count ignores letters
    save_notification(create_notification(sample_template, key_type=KEY_TYPE_NORMAL))
    save_notification(create_notification(sample_template, key_type=KEY_TYPE_NORMAL))
    save_notification(create_notification(sample_template, key_type=KEY_TYPE_TEAM))
    save_notification(create_notification(sample_template, key_type=KEY_TYPE_TEAM))
    save_notification(create_notification(sample_template, key_type=KEY_TYPE_TEST))
    result = dao_get_total_notifications_sent_per_day_for_performance_platform(BEGINNING_OF_DAY, END_OF_DAY)
    assert result.messages_total == 4