tal: add tal_count() and length properties for arrays.