For onto function set B should be Range
For 1-1 function distinct elements in A should be related with distinct elements in B
There are 5 elements in A .
These 5 elements can be related with 5 distinct elements in set B
But there are 6 elements in B. Therefore one element will be left unrelated.
Hence we cannot have onto function from A to B
The answer is $0$.