Conte uma nova linha em String Python

length = x.count('\n')
Kind Kangaroo