//
//  Stats.swift
//  Reflect
//
//  Created by Trey Tartt on 1/14/22.
//

import Foundation

class Stats {
    static func getCountFor(moodType: Mood, inData data: [MoodEntryModel]) -> Int {
        let num = data.filter({
            $0.moodValue == moodType.rawValue
        }).count
        return num
    }
}
