Wrong constant used for Lua inputs count