Adds totalItems property; prevents creating more than one instance; updates tests.
0.1.2