problem count function