I say 20. Ten on one side, ten on the other.
The English is not clear, however.
It should say either:
"Each floor had ten rooms on either side of the hall." = 20 rooms
"Each floor had rooms on either side of the hall, ten in all." = 10 rooms