Updated EntityCounter and conditions element.