Statistics refactoring
Merge pull request #254 from obiba/variable-statistics

Statistics refactoring