Llamó a la puerta tres veces antes de que le abrieran.

He knocked on the door three times before they opened it.