public static <T extends Chunkable>int chunkCountFrom(T chunkable,int chunkLength){
  byte[] data=chunkable.getChunkableData();
  return (int)Math.ceil(data.length * 1.0 / chunkLength);
}

public static < T extends Chunkable > int chunkCountFrom ( T chunkable , int chunkLength ) { byte [ ] data = chunkable . getChunkableData ( ) ; return ( int ) Math . ceil ( data . length * 1.0 / chunkLength ) ; }
retrieve the count of chunks for a given chunk length .
