Added "include_deleted" parameter to getStats

This closes #12