tal/str: make tal_count() work for strsplit.