add count function
fix layout
update index page