If semi-automatic it can hold a maximum of 6 rounds in chamber and magazine combined. Nothing says a thing about what the original magazine could hold. all that needs to happen is the end result. so as long as it limits it out to 5 rounds in your magazine you are good to go.
just look at shotguns. you can either put a stick in it, or buy a plastic plug. the end result needs to be that it only holds 2 rounds in the tube and 1 in the chamber.