updated cluster_terms

included passing counts in and out
Updated graph_rdf & cluster_terms