A tropical version of Hilbert function | Synapse