add show counts attribute