get read count from db