On the Number of Cycles in a Graph