Beyond the Zagreb indices