Added Connection#getTotalCount()