Sayyiduna Mu'adh bin Jabal (may Allah be pleased with him) used to rule, regarding pledged date palms that later bear fruit, that the one holding the pledge should count their dates against the original capital.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الرهن / 11217