Added relation count in getSchemas.