Further refactor biography statistics generation