differentiate between total and active device counts on index page