(单选题, )下列方法中,能够返回某个子串在字符串中出现次数的是( )

(单选题, )下列方法中,能够返回某个子串在字符串中出现次数的是( )

A.length

B.index

C.count

D.find

正确答案是C