add statistic information which shows active&inactive count of devices to home page