Exception handle

Fix the exception when pivot itemcount == 0 for PivotIndicator