Convenient super trait for function count.
Bind generic types to this trait when writing database independend functions.