I have document like given below
{"host":"xxx",
"sessionId":"xxx",
"day1":"10",
"day2":"30",
"day3":"20",
"day4":"50",
"day5":"10",
"day6":"20",
"day7":"80"}
day field is dynamic and may or may not available for each day. want to write query to fetch all sessionId where occurrence of day field > 4
for example given doc is not eligible for query result while above doc is eligible
{"host":"xxx",
"sessionId":"xxx",
"day1":"10",
"day2":"30",
"day6":"20",
"day7":"80"}