Is there a limit to the total number of futures contracts?

Of course there are restrictions. Different futures companies have different contracts. Generally speaking, the exchange will set an upper limit for each futures company (either absolute number or proportion), and will also set an upper limit for the position of a single customer. The purpose of this regulation is to prevent the risk of large households manipulating the market.