public function getStartCounterForPrefix($prefix) { if ($prefix == 0) { return 0; } else { return $this->readFanoutForPrefix($prefix - 1); } }