# sum(marks) - 1 because EXPLAIN ESIMATES does not include final mark.
system_parts_result=node1.query("SELECT any(database), any(table), count() as parts, sum(rows) as rows, sum(marks)-1 as marks FROM system.parts WHERE database = 'default' AND table = 'test' and active = 1 GROUP BY (database, table)")