count number of check-regions