Added functions to query frame count of .oni files.

Three functions to query depth, color and ir frame count from the OpenNI2Device.
If the device is not a file device or the requested stream is not set the getter
functions will return zero.