Katherine has a total of 3 * 4 apples = <<3*4=12>>12 pears
She therefore had 4 apples + 12 pears = <<4+12=16>>16 apples and pears
We know she has 21 total pieces of fruit, so this means she must have 21 total - 16 = <<21-16=5>>5 bananas
#### 5