moved rootscope sitins over to the totalSitins function on the classCtrl