Fix the number of "to python" child arguments when the array length argument is shared. Fixes #366

When the arg cache already exists, we still need to increment n_to_py_child_args if this is an output argument.
13 jobs for fix-to-py-child-arg-count in 6 minutes and 58 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Build And Test
passed #477346
gnome-master

00:01:27

passed #477347
gnome-master-gtk4

00:01:28

passed #477343
pypy2.7

00:03:58

passed #477344
pypy3.6

00:05:53

passed #477338
python2.7

00:05:42

passed #477339
python3.5

00:02:31

passed #477340
python3.6

00:02:25

passed #477341
python3.7

00:04:56

passed #477342
python3.8

00:03:49

passed #477336
win32
python3-mingw32

00:05:51

passed #477337
win32
python3-mingw64

00:05:32

passed #477345
xenial-i386-py2

00:01:33

 
  Coverage
passed #477348
coverage

00:01:02