counts beans and records bean production