public function getTodayCount($locale = null, $query = null)
    {
        $query = $this->determineLocaleAndQuery($locale, $query);

        return $query->where('created_at', '>=', Carbon::today())->count();
    }
public function getTodayCount($locale = null, $query = null)
    {
        $query = $this->determineLocaleAndQuery($locale, $query);

        return $query->where('created_at', '>=', Carbon::today())->count();
    }
public function getTodayCount ( $ locale = null , $ query = null ) { $ query = $ this -> determineLocaleAndQuery ( $ locale , $ query ) ; return $ query -> where ( 'created_at' , '>=' , Carbon :: today ( ) ) -> count ( ) ; }
Gets today's visit count

@param string|null $locale
@param mixed $query
@return int
Gets today s visit count