Fixed a typo

Change-Id: I737ec4ca67c814b6ea8135312b580542bb607335
diff --git a/chart_version_check.sh b/chart_version_check.sh
index dcf2466..a192f52 100755
--- a/chart_version_check.sh
+++ b/chart_version_check.sh
@@ -372,7 +372,7 @@
 ## -------------------------------
 ## Report summary: untracked files
 ## -------------------------------
-if [ ${#untracked_files} -gt 0 ]; then
+if [ ${#untracked_files[@]} -gt 0 ]; then
     displayList \
 	'--newline'                   \
 	'--banner' 'Untracked Files:' \