U.S. oil rig count rises for first week since March