changed count() to ->count() to be more laravel-like. added agency in table view of all projects