uploadDao need a count method.