title: how can i fix AttributeError: 'dict_values' object has no attribute 'count'?
body: <p>here is my <a href="http://pastebin.com/tzPpqE97" rel="noreferrer">code</a> and the text file is <a href="http://www.dropbox.com/s/2bklv7p4ylq8wur/web-graph.zip?dl=0http://" rel="noreferrer">here</a></p>
  
  <pre><code>import networkx as nx
  import pylab as plt
  
  webg = nx.read_edgelist('web-graph.txt',create_using=nx.DiGraph(),nodetype=int)
  in_degrees = webg.in_degree()
  in_values = sorted(set(in_degrees.values()))
  in_hist = [in_degrees.values().count(x)for x in in_values]
  </code></pre>
  
  <p>I want to plot degree distribution web graph 
  how can i change dict to solve?</p>