Store CPB count in the context.