Sites have mini_sites_count and tasks_count

Fix #350 
Fix #342