use id() instead of name() so it's guaranteed to be unique
add no rows and row count display