Fix dataset variable count regression
Merge pull request #277 from obiba/cptp-fixes

Fix dataset variable count regression