xap trident state wordcount sample added