code: public static <T extends Chunkable> int chunkCountFrom(T chunkable, int chunkLength) {
          byte[] data = chunkable.getChunkableData();
          return (int) Math.ceil(data.length * 1.0 / chunkLength);
      }
docs: Retrieve the count of chunks for a given chunk length.
  
  @param chunkLength   The length of each chunk
  @return              The number of chunks generated for a given chunk length