public int ElementCount() { return (int) interceptor.Invoke("elementCount", "elementCount() const", typeof(int)); }