I am python newbie and I am trying to count the number of words in a column (Name) in ArcMap by using
!NAME!.count(' ') + 1
but I run into problems with strings like :
First N' Infant Care Center "Baby World"
type.exceptions.Syntaxerror, even if I use " ",same problem I encounter when I am using other methods like split, strip etc.