public function getVisitsCountFromCurrentIP($timeWindow)
    {
        $timeWindow = (int) $timeWindow;
        $ipControlLog = $this->app->make(IPControlLog::class);

        return $ipControlLog->countVisits('api', new DateTime("-$timeWindow seconds"));
    }