How do i count the number of / in a string?

Thankuk You