How to get average value of one field

Hello Everyone!

This is my hypothetical index which has these following fields:

[
  {
    "id": 100,
    "name": "something",
    "price": 200
  },
  {
    "id": 101,
    "name": "something else",
    "price": 700
  },
    {
    "id": 102,
    "name": "something new",
    "price": 310
  },
  ...
]

I’d like to get the average of the price field. Is it doable via Algolia?

NOTE: I’m using react-instantsearch.

Thanks in advance