Develop a class textcounter that extends javafx.scene.text.text and