print count of consumed input