modified plugin to include set specific table count