I had no idea Courtney Thorne-Smith was on a sitcom for that long