Update count of rows in datasets