countSpaces function

Count the Spaces in a Character String