Bash Script Array Size Python