Return the counts in each of the specified measurements.
- ids : [hashable | iterable of hashables | None]
- Keys of measurements to get counts of.
If None is given get counts of all measurements.
- setdata : bool
- Whether to set the data in the Measurement object.
Used only if data is not already set.
- output_format : DataFrame | dict
- Specifies the output format for that data.
- [DataFrame | Dictionary]
- Dictionary keys correspond to measurement keys.