`totalCnt-nnz(i)` -> `totalCnt - nnz(i)` (spaces around `-`)