prettify demo
fix count attribute