only calculate row counts on databases smaller than 1GB - related to issue #2