rcount("a,b,c,d") === 4 & rcount(".", "abcd") === 4