Add checkbox count to buttons on analysis page