You have a net amount of koku in your coffers. This is added to by harvests and detracted from by maintenance, building expenses, and training expenses. The quality of the harvest is based on a random seed and farm improvements.