add count method to dao
Merge pull request #407 from DOAJ/feature/add_count

add count method to dao