Added x counter

Added div counter for formatting