Fixed getTotal because this isn't based on getList.