Added Counter Class and array adapter xml;