def extract(self, post, extracted=None):
    count = len(re.findall('\\$.*?\\$+', post.rendered_body))
    return count
def extract(self, post, extracted=None):
    count = len(re.findall('\\$.*?\\$+', post.rendered_body))
    return count