Replaced table.getn-function with the #-operator (for Lua 5.2).
Merge pull request #4 from zauster/master

obsolete function table.getn