//Increment data count here
The developer responsible for this legacy code heard that comments are good. What he was not aware of is DRY (Don't Repeat Yourself) principle. It is obvious what the code does. What is not obvious is why it is incremented here and not at the end of the function. I'd like to know why it is incremented unconditionally. I'd like to have a more meaningful variable name that says what kind of data it belongs to. Unfortunately there is no comment explaining it.