A jar contains \(45\) marbles, each of which is blue, pink or black. The probability of selecting a blue marble at random from the jar is \(\frac{1}{3}\), and the probability of selecting a pink marble at random is \(\frac{4}{9}\). How many black marbles does this jar contain?
 
Number of black marbles \(=\)