32,000 files for a hello world...
jeez, i'm going back to java.....
$ unzip -l /usr/java/jdk1.8.0_77/jre/lib/rt.jar | wc -l
20138
It's just less of a burden on the host filesystem because those files are usually loaded straight from the jar (i.e. zip file).I'd rather look at comparable thing like JEE server + Spring + some server-side renderer like Thymeleaf.
Try exploding every Jar in the JDK and counting how many class files and resources there are.