The survey was carried out to celebrate the 50th anniversary of one of Britain’s most beloved comedies.