Praise be to Allah.
Facing the direction of the qiblah is one of the conditions of the prayer being valid; a slight deviation from that direction is overlooked, but a large deviation is not. Also, one who tries his best to work it out and gets it wrong is forgiven. What appears to be the case from your question is that you did not try to work it out and you did not ask; rather you did not pay attention to the changes made in your room that caused this confusion, so you have to repeat those prayers.
If you cannot work out how many they were, then you should err on the side of caution and make up whatever you think most likely to be the number of prayers so that you will have discharged your obligation.
And Allah knows best.