Lua 5.2 removed the table.getn function in favor of the length operator (#)
Merge branch 'master' into no-time-mod

* master:
  Lua 5.2 removed the table.getn function in favor of the length operator (#)