Add dataset pattern and path required
Add api_rows, das_sinfo, regen function and associative unit tests
Fix double counting issue, fix #3965