After suit from nonprofits, federal judge orders Texas count