I need to get the max and min values from all properties that end in Count from a JSON object similar to this. I would expect to get 18 as the max and 3 as the min.
I am able to get the max for an individual property (Getting max value(s) in JSON array) but not for anything ending in Count.
[
{Period: 01/2017, Alpha: 5, AlphaCount: 10, Bravo: 3, BravoCount: 7, Charlie: 9, CharlieCount: 3}
{Period: 02/2017, Alpha: 2, AlphaCount: 4, Bravo: 3, BravoCount: 6, Charlie: 9, CharlieCount: 13}
{Period: 03/2017, Alpha: 6, AlphaCount: 8, Bravo: 3, BravoCount: 12, Charlie: 9, CharlieCount: 18}
]