Added view composer namespace with admin nav class. Added view composer to routes. Added method in post repository to get count of items in trash.