title: Returning a value in list that occurs n times
body: <p>I am a beginner in Python and am trying to figure this out.
  For example, if I would like to return the value in a list that occurs len(list)//3+1 times. I wanted to use a for loop in combination with the count and sort method but I'm not sure how exactly to implement that.</p>
  <pre><code>list.sort()
  
  duplicates=[]
  for i in list:
      if list.count(i//3+1):
          if i not in duplicates:
              duplicates.append(i)
  </code></pre>