Words with Letters polynomial