from mrjob.job import MRJob
import sys

class MRArticleCount(MRJob):

    def mapper(self, _, line):
        yield "articles", line.count('</article>')

    def reducer(self, key, counts):
        yield key, sum(counts)

if __name__ == '__main__':
    MRArticleCount.run()

227ac52ecf59acde339b0ba0f38b8fbe9b1cc4f9
<mask token>


class MRArticleCount(MRJob):
    <mask token>
    <mask token>


<mask token>

<mask token>


class MRArticleCount(MRJob):

    def mapper(self, _, line):
        yield 'articles', line.count('</article>')

    def reducer(self, key, counts):
        yield key, sum(counts)


<mask token>

<mask token>


class MRArticleCount(MRJob):

    def mapper(self, _, line):
        yield 'articles', line.count('</article>')

    def reducer(self, key, counts):
        yield key, sum(counts)


if __name__ == '__main__':
    MRArticleCount.run()

from mrjob.job import MRJob
import sys


class MRArticleCount(MRJob):

    def mapper(self, _, line):
        yield 'articles', line.count('</article>')

    def reducer(self, key, counts):
        yield key, sum(counts)


if __name__ == '__main__':
    MRArticleCount.run()

from mrjob.job import MRJob
import sys

class MRArticleCount(MRJob):

    def mapper(self, _, line):
        yield "articles", line.count('</article>')

    def reducer(self, key, counts):
        yield key, sum(counts)

if __name__ == '__main__':
    MRArticleCount.run()
