Added DCount function declaration. Added getVersion method.