Added call count to the view and refactored some code
Make sure the the call is updated with the agent name when assigned