Fixed a bug in the line counting scripts - empty modules will no longer crash the system.