def METHOD_NAME(self, server):
    """
    Count the Cray compute nodes and return the value.
    """
    vnl = server.filter(MGR_OBJ_NODE,
                        {'resources_available.vntype': 'cray_compute'})
    return len(vnl["resources_available.vntype=cray_compute"])