Bash Script Array Size Python Code Checker