Indicating the weight by electrical means, e.g. using photoelectric cells involving digital counting {using a microprocessor}