SELECT COUNT(DISTINCT m.id) FROM meetings m LEFT JOIN meeting_attendees ma ON m.id = ma.meeting_id WHERE (m.organizer_id = {user_id} OR ma.user_id = {user_id}) AND m.status = "scheduled" AND m.start_time >= NOW()