shop index get todo amount from db