bugfix: wrapper.count not being defined if not generating a table