using count instead of id for button value