if prices_list is string we cannot count strings