Sum Rule And Product Rule In Counting