Rémi Bernon : dinput: Split enum_objects_count helper from enum_objects_init.