1. A method of determining how many states are written per cell in a page of a flash memory comprising: individually comparing bit line currents with a cell-read reference current to obtain individual binary results; storing the individual binary results; combining the individual binary results into an analog output; and comparing the analog output with a predetermined value to obtain an indication of how many states are written per cell.