What does query_p_total.value(0).toDouble() return?