added count column

added count column for quantity compute