Looking for formula to count commas in a single cell
I'm looking for a formula to count the commas in a cell. I've downloaded a spreadsheet with lots of data already populated and it has a column for keywords. I need to know how many keywords are in each cell because I can only have a maximum of 30. All of the keywords are separated by commas without spaces and there are over 400 lines to go through...
I've tried the formula =SEARCH(",",N2)+1 but it doesn't return the correct values and I'm not sure why.
For example cell N2 contains: Books_And_Zines,Bookmark,book,recycled,rare,spoon,kitchen,antique,nonfiction,fi ction,gift,men,women,silverware
Cell O2 contains the formula: =SEARCH(",",N2)+1
I expect it to return 14 because there are 13 commas and +1 to account for the last word. BUT it returns 17. ??
Any help is appreciated!