public function countApiKeyRequests($apiKeyId, $routeAction, $method, $keyIncrementTime)
{
return self::where('api_key_id', '=', $apiKeyId)->where('route', '=', $routeAction)->where('method', '=', $method)->where('created_at', '>=', date('Y-m-d H:i:s', $keyIncrementTime))->where('created_at', '<=', date('Y-m-d H:i:s'))->count();
}