Residential buildings don´t use up any building slot. (Strolling already said that.)
All the special buildings you can build also don´t use a building slot. Only workshops, guild masters and market stalls are limited by the 60/100 building slot limitation.