get statistics from labeled regions