Need to be able to filter Notes view by type of record associated

We would like to be able to create Note views based on either a filter that refines which object they are associated to, or by creating a custom property that will calculate the number of deals/contacts/other custom objects they are associated to, so that we can sort and filter on that value. Ex. if # deals associated is known, show in view.