public static int getMenuSize(int count) {
        Preconditions.checkArgument(count >= 0, "count < 0");
        return getMenuSize(count, 9);
    }
Utility method to get the number of lines needed for x items

@param count the number of items
@return the number of lines needed
helper/src/main/java/me/lucko/helper/menu/Gui.java