Did you manage to solve this issue ? I am very interested in on how to do this. I want to count ojbects on my tensorflow lite application.