1. Formal:
* Il y a quatre chambres. (Formal, literally "There are four rooms.")
2. Informal:
* Il y a quatre pièces. (Informal, literally "There are four pieces/rooms.")
Note: In French, "chambre" specifically refers to a bedroom, while "pièce" is a more general term for a room.