Counting Dominating Sets of Graphs