refactor language count
remove null object
Merge pull request #508 from rphillips/fixes/langs-count

refactor language count