make count of total result work
test fix
Merge pull request #1574 from marcel-blonk/PLFM-3037

make count of total result work