According to this page, the world record for the highest number of bonnets worn at the same time was set at 51 on January 18, 1997.