Client API Query: result size is now an int
CLI: added DB upgrade option without node creation