const rotateMatrixCounter = (matrix, count = 1) => {
  const rotateCounterClockwiseOnce = (array) => (
    compose(reverseMatrix, transposeMatrix)(array)
  );
  return composeNTimes(rotateCounterClockwiseOnce, count, matrix);