Verfahren zum Erfassen einer Kornzahl (26) eines Erntegutstromes (50-58), bei dem ein Sensor (23) einer Messvorrichtung (22) Körner, die auf eine Prallfläche des Sensors (23) aufprallen, mittels eines Messsignals (27) erfasst und eine Verarbeitungseinheit (30) der Messvorrichtung (22) dazu eingerichtet ist, die Kornzahl (26) anhand des Messsignals (27) zu bestimmen, wobei die Anstiegsflanken (37) des Messsignals (27) erfasst werden und ein Maß für die Kornzahl (26) bilden.Die vorliegende Erfindung betrifft weiterhin eine Messvorrichtung (22) zur Erfassung einer Kornzahl (26) mit einem solchen Verfahren sowie eine selbstfahrende Erntemaschine (2) mit einer solchen Messvorrichtung.Method for detecting a number of grains (26) of a crop stream (50-58), in which a sensor (23) of a measuring device (22) detects grains which impinge on a baffle surface of the sensor (23) by means of a measuring signal (27) and a Processing unit (30) of the measuring device (22) is adapted to determine the number of grains (26) based on the measuring signal (27), wherein the leading edges (37) of the measuring signal (27) are detected and form a measure of the grain number (26) , The present invention further relates to a measuring device (22) for detecting a number of grains (26) with such a method and to a self-propelled harvesting machine (2) having such a measuring device.