Simplify Counter for Java8/JavaFX