[feature] added counter to the buffers so it's easier to pass this information between stated parsers