A counter based on the electrical input/output stimuli activation of an array of quantum dots