/** * WARNING : this function may be slow and not suited to production uses. * See Riak documentation for closer details. * @return integer */ public function count() { return $this->riakBucketServiceClient->count($this->cluster, $this); }