Add PCM byte counter logic.