Query failed : select count(law_id) as sum from m_law