refactored the edit/destroy in the show to a helper.
Added the record count in the index.