Renamed _insertCount() as _insertCounts()
Minor tweaks and removed a couple of magic numbers
Updated minification