Invalid count_query31