wip: pdf stats