Fix site validation so that sitesCount is not too big when there are invalid sites.
Fix site validation so that sitesCount is not too big when there are invalid sites.

AntarcticApps/Tiles,AntarcticApps/Tiles