Dim does not work with multipointer tensors
**Describe the bug**
Calling dim on a multipointer tensor returns a multipointer tensor where the values of the children are all ints. The return signature should be an int

**To Reproduce**
create a multipointer tensor and call .dim()

**Expected behavior**
the value returned should be an int

diff --git a/syft/frameworks/torch/tensors/interpreters/multi_pointer.py b/syft/frameworks/torch/tensors/interpreters/multi_pointer.py
index 610500130..986b10c23 100644
--- a/syft/frameworks/torch/tensors/interpreters/multi_pointer.py
+++ b/syft/frameworks/torch/tensors/interpreters/multi_pointer.py
@@ -84,6 +84,12 @@ class MultiPointerTensor(AbstractTensor):
 
         return list(self.child.values())[0].shape
 
+    def dim(self) -> int:
+        """This method fixes the error that the result of dim was a list of ints
+        stored inside a multipointer tensor"""
+
+        return len(self.shape)
+
     def get(self, sum_results: bool = False) -> torch.Tensor:
 
         results = list()
diff --git a/test/torch/tensors/test_multi_pointer.py b/test/torch/tensors/test_multi_pointer.py
index 9d7252512..86fbdff16 100644
--- a/test/torch/tensors/test_multi_pointer.py
+++ b/test/torch/tensors/test_multi_pointer.py
@@ -30,3 +30,12 @@ def test_multi_pointers(workers):
     c = b.get()
     assert len(c) == 2
     assert (c[0] == th.tensor([2, 4, 6, 8, 10])).all
+
+
+def test_dim(workers):
+    bob = workers["bob"]
+    alice = workers["alice"]
+
+    a = th.tensor([1, 2, 3, 4, 5]).send(bob, alice)
+
+    assert a.dim() == 1
['syft/frameworks/torch/tensors/interpreters/multi_pointer.py', 'test/torch/tensors/test_multi_pointer.py']