I have a JSON file with logs of music streams like in the format below (don't know how many exactly it's a few months of streams) and I want to find how many times a specific artist name or track name occurs in it. How would I do that?
[
{
"endTime" : "2020-07-16 21:01",
"artistName" : "Jackson Wang",
"trackName" : "BAD BACK (feat. GoldLink)",
"msPlayed" : 162194
},
{
"endTime" : "2020-07-16 21:03",
"artistName" : "Jackson Wang",
"trackName" : "TITANIC (feat. Rich Brian)",
"msPlayed" : 140934
},
{
"endTime" : "2020-07-16 21:06",
"artistName" : "Jackson Wang",
"trackName" : "FADED",
"msPlayed" : 157192
},
{
"endTime" : "2020-07-16 21:09",
"artistName" : "Kid Ink",
"trackName" : "Same Day",
"msPlayed" : 181447
},
{
"endTime" : "2020-07-16 21:12",
"artistName" : "Kid Ink",
"trackName" : "Good Idea (feat. BIA)",
"msPlayed" : 195936
}
]