How to display on my number of free parking on 4 digit 7segment using IR obstacl

is it the right way i've inserted the count?

I suggested a meaningful name for the variable. You've used a stupid name that gives NO clue what is being counted. As far as I'm concerned, you can complete the project without any more help from me.