Similar Items: Degree of vertices and number of edges in a mixed graph