count and store frame PB in phases