adding count to list posts response