Show count of elements and make attributes more efficient
Further style optimisations