public function getBeaconsTotal($token, $event, array $dates)
    {
        $total = 0;

        foreach ($dates as $date) {
            $key = $this->generateEntryKey(
                $token,
                $event,
                $date
            );

            $total += $this->doRedisQuery(function () use ($key) {
                $this
                    ->redis
                    ->get($key . '_total');
            }, 0);
        }

        return $total;
    }