i need circuit to build a round counter using optical diode and transistor and convert this signal in value in round per minute