How to count the number of words

I want to count the number of words in a field.
Delimiter ; but makes it difficult to have ;; with an empty value.
Example:

take1;take2;take3;;;;;;;;;;

Does anyone have any ideas?