extract count data dict method