def spacesCount(text):
            return len(text) - len(text.rstrip(' '))
def main(args):
    '''Populates an html template using JSON-formatted output from the
    Linux 'du' utility and prints the result'''
    html = '''