getBackendCount

Gets the number of available backends (CPU, GPU).

Return

The number of backends

Throws

if the operation fails