Creating 4 index won’t work with the first aggregation, it will use the first one with name and than fetch the result. So this is the same result from using the index i sent.
For the second one it’s already working, so creating 4 index that in total will take more memory than just one that include them all doesn’t seems to make sense.