Count Unreachable Pairs | CodeGround