fixed count to add class last in home page