Changed books#index to call Book Class method 'count' in the view instead of passing it in the controller