count function works!!!