Make `SamplingStatus` work without target number of entities
The SamplingStatus
class currently expects a target number of entities to be defined, otherwise the status output contains nan
s. This should be made more generic in case a user wants to define a custom stopping criterion.