Query on non empty object field having multiple keys or to check size of object greater than 1

Okay thanks, @prasad. Using above, if I have index on ‘test’ field. So, will it leverage that or will this have any performance impact on querying documents