boundaryCount