Add the mini_sites_count to sites. Fix #169

Fix #169 (software engineering)