[DF-4840] Add getting cpu cores count to Android, iOS and MacOS