So after spending a lot of time running around the castle trying to find the final gold brick, make sure you aren't missing any students in peril, getting the final student in peril will grant you a gold brick. I had one student to find which gave me the 200th brick.