Implement get total size and count