Added print counter