michael replied the topic: CSP - entire site errors
countModules() is a method used in templates. CSP doesn't use that method at all.
getType() is something used to determine the document type (HTML, feed, xml). CSP does use this method, and I think I see where it might be coming from. I'll issue an update today that should resolve it.