In the same castle, there is a hidden underground passage which has 9 rooms. After discovering these, if you count all the rooms: the original five, the ones found in the second wing when converting the number of bricks to rooms, and these new rooms from the underground passage together. How many rooms are there in the castle in total?