Add count methods
replace PHP with HTML