Fix the count param to actually be a count instead of end