This number increases to 40 if you include the 5 that can fit into a level 8 or higher Clan Castle