Changed count to counter