Faster Nussinov count.