08/13/2018 09:51 EDT | Updated 08/13/2018 10:17 EDT

12-Year-Old Josh Cochrane Records 'A Police Hallelujah' Song For Fredericton Shooting Victims

A Facebook video of him singing it has been viewed more than 300,000 times.

Twelve-year-old Josh Cochrane recorded a special song for the victims of the Fredericton shooting.

YARMOUTH, N.S. — Twelve-year-old Josh Cochrane of Yarmouth, N.S., watched the news of a deadly shooting in Fredericton on Friday afternoon with a heavy heart.

He thought of the fear the responding officers must have felt, and the children of the victims whose parents wouldn't be around to tuck them in at night.

Cochrane wanted to do something to help comfort the grieving community, so he wrote and recorded a tribute song, to the tune of Leonard Cohen's "Hallelujah," called "A Police Hallelujah."

In the two days since his mother posted his song to Facebook, the video has been viewed more than 300,000 times.

"I wanted the song to show the world their braveness and sacrifice they made to save others," Cochrane said.

"I believe music heals people, it helps you see from your heart, it helps bring calmness."

Dan Culberson/Reuters
A makeshift memorial has been forming outside Fredericton Police Headquarters in Fredericton, New Brunswick.

Cochrane said he has received responses from grieving people across the country, including a colleague of Const. Robb Costello and Const. Sara Mae Burns — the two police officers killed — saying Cochrane's song is helping him and his colleagues through the difficult time.

The young Canadian's message is just one of many shows of support from people who never knew the victims, but are still grieving with the small New Brunswick city.

Police forces across the country lowered flags to half-mast on Friday afternoon, while thousands of people posted on social media with the hashtag #FrederictonStrong.

I believe music heals people, it helps you see from your heart, it helps bring calmness.

Prime Minister Justin Trudeau visited families and colleagues of the victims on Sunday afternoon, and told reporters his message to the families was one of solidarity in grief.

"When you have a whole community, and indeed a whole country, supporting you through terrible grief, it does make it a little bit easier — not much easier, but a little bit easier," Trudeau said.

For Cochrane's part, he hopes his song will spread his belief that love and kindness are more powerful than anger and hate — a lesson he learned when he lost someone close to him while that person was serving in Afghanistan.

"We have to stop losing lives to violence by changing the world one kind act at a time," Cochrane said.

Dan Culberson/Reuters
A message at the St. John the Evangelist Anglican Church notifies the community of a prayer vigil after a shooting incident in Fredericton, New Brunswick.

From the comments he's received so far, he thinks he has achieved what he set out to do.

"I believe the song is doing what I hoped," Cochrane said.

"It has people talking, people knowing that it's not weak to speak about how they feel, it's important," he said.

"It is OK to not be OK sometimes. ... someone is always there to help them get through, and people do care, even if it is a kid."