I think I would rather have this at the end of Decode. Seems Decode is the only place we will consider a packet to be invalid (rightfully I think), so at the end of that would be the proper place to update this counter.