added stats to mountains and photo.id to group_by sql for top mountain