This callback is used when count aggregation execution completed.
- bucket
- On which the query executed.
- query
- Executed query.
- count
- Number of objects matched specified query.
- e
- The exception thrown in execution. If this value is null, execution is done successfully.
It is not guaranteed that this callback will be called on main thread.
Please refer remark section of each API to know how to handle a response.