One solution could be the same answer in How to program the EOS utility to take n number of shots.
I'm not sure that EOS Utilities works for the number of shots in a row, but an Android application called DSLR Controller (Beta) works great with my T4i and when I had a T2i. I still haven't tried it for the 7D mark ii. If you can get a micro usb to micro usb or an Android tablet with a USB port for the standard cable. The application allows you to program a large number of settings, such as the number of images, how many seconds apart, aperture, shutter speed, iso, change the setting for brightness after each photo, etc.
I used it for a while to complete the patio in my backyard a few years ago and it worked quite well, to make time for my friends' main wedding table, to get pictures of myself where 10 seconds is not enough time to get behind the camera, check my RAW images while I'm traveling somewhere and want to see them on a larger screen.
I would really recommend researching it and see if it could work for your Canon camera.
DSLR Controller (BETA): it costs around $ 7.99 (CAD or USD, I forget it)
Remote launch: a trial application before buying the DSLR driver
The Android application states that it also uses WiFi, but does not have a WiFi camera to really test it, but it is worth trying.