Seol mar théacs é seo: Fast sequential Monte Carlo methods for counting and optimization /