get count of registered devices