master-thesis/src/figures/count-phases.pdf