Counting Chrome tabs now runs completely in Python and SQLite and also saves the proper amount of tabs.