Factorize count style