diff --git a/buggy.py b/buggy.py
--- a/buggy.py
+++ b/buggy.py
@@ -14,7 +14,7 @@
             count = 0
             for j in nums2:
                 if i == j:
-                    for k in range(self.find_pos(i) + 1, len(nums2)):
+                    for k in range(nums2.index(j) + 1, len(nums2)):
                         if nums2[k] > j:
                             count += 1
                             l.append(nums2[k])
