Nový ovladač neimplementuje $cursor->count() použijte $collection->count() místo
$collection->count($filter)
ve vašem případě:$filter = array('paid' => 'true')
Nový ovladač neimplementuje $cursor->count() použijte $collection->count() místo
$collection->count($filter)
ve vašem případě:$filter = array('paid' => 'true')