Method getNumOfVersions added, i needed that for VIEW :P