In preparing for a camping trip, a group of friends collected 8 small tents and 88 large tents. They then added 17 medium tents to their collection. Separately, they also managed to gather 77 ground mats for the tents. How many total items including both tents and ground mats did they gather for the camping trip?