Updated for the count of object
Update the html to get the count of object