Changed initialization assignment statement of value to count.