clean+count str occurances