Boundary Count