add counter and article layout