The PCNT RST bit needs to be set to zeroing the counter and then this same bit needs to be cleared to returning counting.