'Calculate number of build steps to generate catalog.
Calculate total number of build steps based on enabled sections.
Inputs:
opts.generate_* (bool): enabled sections
Outputs:
total_steps (int): updated'

def compute_total_steps(self):

    incremental_jobs = 0
    if self.opts.generate_authors:
        incremental_jobs += 2
    if self.opts.generate_titles:
        incremental_jobs += 2
    if self.opts.generate_recently_added:
        incremental_jobs += 2
        if self.generate_recently_read:
            incremental_jobs += 2
    if self.opts.generate_series:
        incremental_jobs += 2
    if self.opts.generate_descriptions:
        incremental_jobs += 3
    self.total_steps += incremental_jobs
