Il nuovo driver non implementa $cursor->count() usa $collection->count() invece
$collection->count($filter)
nel tuo caso:$filter = array('paid' => 'true')
Il nuovo driver non implementa $cursor->count() usa $collection->count() invece
$collection->count($filter)
nel tuo caso:$filter = array('paid' => 'true')