Changed Log::has() to Log::count() and returns amount of (filtered) logs