[tor-commits] [sbws/maint-1.1] chg: state: Add method to count list values