Gets device count for a user
int getDeviceCount(String userId) { return _userDevices[userId]?.length ?? 0; }