There is no direct way to get the number of elements in a multi-valued field.
You can always support field counting during indexing and use it.
If you are not using during the request, you can always calculate the size of the list.
Jayendra
source share