Merge pull request #4 from adam-vessey/7.x

Fix the variable name.
Move around logic, so a count is still obtained where there's no size.
Fix title reporting.