You need one over 50 seats, wether they are filled or not. Some aircraft may have a spare jump seat which is used whenever there is training being performed.
Although you need one per 50 there are certain circumstances which will allow less than this which is very rare and is used for rescue flights or to get an aircraft home. Each airline will have their own policy on this. That policy being approved by the CAA if it's a UK airline.