WIP: started to factorized the raw count collection