accounts = $accounts; } public function index() { $count = $this->accounts->count(); return View::make('index')->with('count',$count); } }