scoreboard kill count

how can i make the scoreboard show the player kill count but for mobs? for example i already have a kill count scoreboard for two teams, but it wont add a kill if a team golem kills somebody
Continue to help post