Create countEmpty.java