[PD] Building a counter problem