place count before table, per @hongsudt. closes #3